package com.groupten.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.DataOutput;
import java.io.Serializable;

/**
 * 配置规则表
 */
@Data
@TableName("configure_rule")
public class ConfigureRuleEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ruleId;

    /**
     * 单选题个数
     */
    private Integer singlechoiceNumber;

    /**
     * 多选题个数
     */
    private Integer multiplechoiceNumber;

    /**
     * 填空题个数
     */
    private Integer blankNumber;

    /**
     * 通过率，难度
     */
    private Double passingRate;

    /**
     * 规则名
     */
    private String ruleName;

}
